//==============================================================================
// dwarf_anim.txt
//==============================================================================

import bow_defines_anim.txt

//==============================================================================
define Seeds
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Sow Seeds
      }
   }  
}

//==============================================================================
define axe
{
   TechLogic Hand Axe/Bow Saw/Carpenters
   set hotspot
   {
      version
      {
         Visual Attachments A Axe Hatchet
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments A Axe Wood
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments A Axe DoubleBit
      }
   }
}

//==============================================================================
define basket
{
   set hotspot
   {
      version
      {
         Visual Attachments A basket
      }
   }  
}

//==============================================================================
define carryStuff
{
   CarryTypeLogic grain/meat/fish/wood/gold
   set hotspot
   {
      version
      {
         Visual Attachments A Resource Grain
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments A Resource Meat
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments A Resource Fish
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments A Resource Wood
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments A Resource Gold
      }
   }
}

//==============================================================================
define weapon
{
   TargetLogic none/wood
   set hotspot
   {
      version
      {
         Visual Attachments A Knife
      }
   }
   set hotspot
   {
      version
      {
			visualnone jimmy
         connect hotspot axe hotspot
      }
   }
}

//==============================================================================
define hammer
{
   set hotspot
   {
      version
      {
         Visual Tool Hammer
      }
   }
}

//==============================================================================
define hoe
{
   set hotspot
   {
      version
      {
         Visual tool hoe
      }
   }
}

//==============================================================================
define knife
{
   set hotspot
   {
      version
      {
         Visual tool knife
      }
   }
}

//==============================================================================
define pickaxe
{
   TechLogic pickaxe/Shaft Mine/Quarry
   set hotspot
   {
      version
      {
         Visual Tool Pickaxe Stone
      }
   }
   set hotspot
   {
      version
      {
         Visual Tool Pickaxe MetalBit
      }
   }
   set hotspot
   {
      version
      {
         Visual Tool Pickaxe Miners
      }
   }
}

//==============================================================================
anim GatherFish
{
   SetSelector
   {
		InventoryLogic 0 1
		SetSelector
		{
			set hotspot
			{
				version
				{
                                Visual Villager N dwarf_RangedAttackA
				tag Attack 0.44 true 
//-- auto generated by the bang animation tool
//-- do not hand edit these values
						tag GenericSound 0.67 true	
						tag SpecificSoundSet 0.00 false GatherFlay checkVisible 
//-- end auto generated section
            connect LeftHand bow hotspot
         }
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
                                Visual Villager N dwarf_RangedAttackA
                                connect BACKCHEST carryStuff hotspot
				tag Attack 0.44 true 
//-- auto generated by the bang animation tool
//-- do not hand edit these values
						tag GenericSound 0.67 true	
						tag SpecificSoundSet 0.00 false GatherFlay checkVisible 
//-- end auto generated section
            connect LeftHand bow hotspot
                                }
			}
		}
   }
}

//==============================================================================
anim GatherChop
{
   SetSelector
   {
		InventoryLogic 0 1
		SetSelector
		{
			set hotspot
			{
				version
				{
                                Visual Villager N dwarf_chop
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.58 true   
                  tag SpecificSoundSet 0.67 false GatherChop checkVisible 
//-- end auto generated section
            connect RightHand Axe hotspot
         }
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
                                Visual Villager N dwarf_chop
                                connect BACKCHEST carryStuff hotspot
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.58 true   
                  tag SpecificSoundSet 0.67 false GatherChop checkVisible 
//-- end auto generated section
            connect RightHand Axe hotspot
                                }
			}
		}
   }
}

//==============================================================================
anim GatherMine
{
   SetSelector
   {
		InventoryLogic 0 1
		SetSelector
		{
			set hotspot
			{
				version
				{
            Visual Villager N dwarf_mineA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.52 true   
                  tag SpecificSoundSet 0.60 false GatherMine checkVisible 
//-- end auto generated section
            connect RightHand pickaxe hotspot
         }
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
                                Visual Villager N dwarf_mineA
                                connect BACKCHEST carryStuff hotspot
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.52 true   
                  tag SpecificSoundSet 0.60 false GatherMine checkVisible 
//-- end auto generated section
            connect RightHand pickaxe hotspot
                                }
			}
		}
   }
}


//==============================================================================
anim Attack
{
   SetSelector 
   {
       InventoryLogic 0 1
       SetSelector
       {
          TargetLogic none/wood
          SetSelector
          {
             set hotspot
             {
                version
                {
            Visual Villager N dwarf_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.40 true   
                  tag Attack 0.62 true   
//-- end auto generated section
            connect RightHand knife hotspot
         }
      }
    } 
    SetSelector
    {
      set hotspot
      {
         version
         {
            Visual Villager N dwarf_chop
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag GenericSound 0.58 true   
            tag SpecificSoundSet 0.67 false GatherChop checkVisible 
//-- end auto generated section
				tag Attack 0.62 true 
            connect RightHand Axe hotspot
           }
	}
      }
    } 
    SetSelector 
    {
       TargetLogic none/wood
       SetSelector
       {
         set hotspot
         {
           version
           {
          Visual Villager N dwarf_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.40 true   
                  tag Attack 0.62 true   
//-- end auto generated section
            connect RightHand knife hotspot
            connect LEFTHAND carryStuff hotspot
         }
      }
    } 
    SetSelector
    {
      set hotspot
      {
         version
         {
            Visual Villager N dwarf_chop
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag GenericSound 0.58 true   
            tag SpecificSoundSet 0.67 false GatherChop checkVisible 
//-- end auto generated section
				tag Attack 0.62 true 
            connect RightHand Axe hotspot
            connect BACKCHEST carryStuff hotspot
              }
           }
         }
      }
   }
}

//==============================================================================
anim RangedAttack
{
   SetSelector
   {
		InventoryLogic 0 1
		SetSelector
		{
			set hotspot
			{
				version
				{
                                Visual Villager N dwarf_RangedAttackA
				tag Attack 0.44 true 
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag GenericSound 0.33 true   
            tag SpecificSoundSet 0.44 false Arrow checkVisible   
//-- end auto generated section
            connect LeftHand bow hotspot
         }
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
                                Visual Villager N dwarf_RangedAttackA
                                connect BACKCHEST carryStuff hotspot
				tag Attack 0.44 true 
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag GenericSound 0.33 true   
            tag SpecificSoundSet 0.44 false Arrow checkVisible   
//-- end auto generated section
            connect LeftHand bow hotspot
                                }
			}
		}
   }
}


//==============================================================================
anim Death
{
   SetSelector
   {
		InventoryLogic 0 1
		SetSelector
		{
			set hotspot
			{
				version
				{
                                Visual Villager N dwarf_DeathA
                                }
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
                                Visual Villager N dwarf_DeathA
                                connect LEFTHAND carryStuff hotspot
                                }
			}
		}
   }
}

//==============================================================================
anim Idle
{
   SetSelector
   {
		InventoryLogic 0 1
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Villager N dwarf_IdleA
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Villager N dwarf_CarryIdleA
					connect rightHand carryStuff hotspot
				}
			}
		}
   }
}


//==============================================================================
anim Bored
{
   SetSelector 
   {
      set hotspot
      {
         version
         {
            Visual Villager N dwarf_boredA
         }
      }
   }
}

//==============================================================================
anim run
{
   SetSelector
   {
		InventoryLogic 0 1
		SetSelector
		{
			set hotspot
			{
				version
				{
            Visual Villager N dwarf_run
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.00 true   
                  tag FootstepRight 0.50 true   
//-- end auto generated section
         }
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
                                Visual Villager N dwarf_run
                                connect LEFTHAND carryStuff hotspot
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.00 true   
                  tag FootstepRight 0.50 true   
//-- end auto generated section
                                }
			}
		}
   }
}

//==============================================================================
anim walk
{
   SetSelector
   {
		InventoryLogic 0 1
		SetSelector
		{
			set hotspot
			{
				version
				{
			        Visual Villager N dwarf_run
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepRight 0.10 true   
                  tag FootstepLeft 0.35 true   
                  tag FootstepRight 0.60 true   
                  tag FootstepLeft 0.85 true   
//-- end auto generated section
         }
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
                                Visual Villager N dwarf_run
                                connect LEFTHAND carryStuff hotspot
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepRight 0.10 true   
                  tag FootstepLeft 0.35 true   
                  tag FootstepRight 0.60 true   
                  tag FootstepLeft 0.85 true   
//-- end auto generated section
                                }
			 }
		 }
    }
}


//==============================================================================
anim Build
{
   SetSelector 
   {
       InventoryLogic 0 1
       SetSelector
       {
          TargetLogic none/taproot/farm
          SetSelector
          {
              set hotspot
              {
                 version
                 {
            Visual Villager N dwarf_BuildA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.58 true   
                  tag SpecificSoundSet 0.67 false Build checkVisible 
                  tag SpecificSoundSet 0.92 false Build checkVisible 
//-- end auto generated section
            connect RightHand hammer hotspot
         }
      }
   }
   SetSelector
   {     
      set hotspot
      {
         version
         {
            Visual Villager N dwarf_chop
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.58 true   
                  tag SpecificSoundSet 0.67 false GatherChop checkVisible 
//-- end auto generated section
            connect RightHand Axe hotspot
         }
      }
   }
   SetSelector
   {     
      set hotspot
      {
         version
         {
            Visual Villager N Dwarf_sowA
				connect ATTACHPOINT basket hotspot
				connect RightHand seeds hotspot
            }
          }
	}
      }
      SetSelector
      {
          TargetLogic none/taproot/farm
          SetSelector
          {
              set hotspot
              {
                 version
                 {
          Visual Villager N dwarf_BuildA
          connect BACKCHEST carryStuff hotspot
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.58 true   
                  tag SpecificSoundSet 0.67 false Build checkVisible 
                  tag SpecificSoundSet 0.92 false Build checkVisible 
//-- end auto generated section
            connect RightHand hammer hotspot
         }
      }
   }
   SetSelector
   {     
      set hotspot
      {
         version
         {
            Visual Villager N dwarf_chop
            connect BACKCHEST carryStuff hotspot
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.58 true   
                  tag SpecificSoundSet 0.67 false GatherChop checkVisible 
//-- end auto generated section
            connect RightHand Axe hotspot
         }
      }
   }
   SetSelector
   {     
      set hotspot
      {
         version
         {
            Visual Villager N Dwarf_sowA
                                connect BACKCHEST carryStuff hotspot
                                connect ATTACHPOINT basket hotspot
				connect RightHand seeds hotspot
               }
            }
         }
      }
   }
}

//==============================================================================
anim GatherFarm
{
   SetSelector
   {
		InventoryLogic 0 1
		SetSelector
		{
			set hotspot
			{
				version
				{
                                Visual Villager N dwarf_FarmA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.69 true   
                  tag SpecificSoundSet 0.67 false GatherFarm checkVisible 
//-- end auto generated section
            connect RightHand hoe hotspot
         }
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
                                Visual Villager N dwarf_FarmA
                                connect BACKCHEST carryStuff hotspot
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.69 true   
                  tag SpecificSoundSet 0.67 false GatherFarm checkVisible 
//-- end auto generated section
            connect RightHand hoe hotspot
                                }
			}
		}
   }
}

//==============================================================================
anim GatherHunt
{
   SetSelector
   {
		InventoryLogic 0 1
		SetSelector
		{
			set hotspot
			{
				version
				{
            Visual Villager N dwarf_SliceA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.07 true   
                  tag SpecificSoundSet 0.33 false GatherFlay checkVisible 
//-- end auto generated section
            connect RightHand knife hotspot
                                }
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
                                Visual Villager N dwarf_SliceA
                                connect BACKCHEST carryStuff hotspot
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.07 true   
                  tag SpecificSoundSet 0.33 false GatherFlay checkVisible 
//-- end auto generated section
            connect RightHand knife hotspot
                                }
			}
		}
   }
}

//==============================================================================
anim GatherBush
{
   SetSelector
   {
		InventoryLogic 0 1
		SetSelector
		{
			set hotspot
			{
				version
				{
            Visual Villager N dwarf_HarvestA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.07 true   
                  tag SpecificSoundSet 0.51 false Forage checkVisible 
//-- end auto generated section
                                }
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
             Visual Villager N dwarf_HarvestA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.07 true   
                  tag SpecificSoundSet 0.51 false Forage checkVisible 
//-- end auto generated section
            connect Attachpoint basket hotspot
                                }
			}
		}
   }
}

//==============================================================================
anim carry
{
   SetSelector
   {
      set hotspot
      {
         version
         {
            Visual Villager N dwarf_carryA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.00 true   
                  tag FootstepRight 0.50 true   
//-- end auto generated section
            connect rightHand carryStuff hotspot
         }
      }
   }
}
